package com.tanhua.manage.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tanhua.manage.mapper.UserFreezeMapper;
import com.tanhua.manage.pojo.UserFreeze;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserFreezeService_six {

    @Autowired
    private UserFreezeMapper userFreezeMapper;

    public UserFreeze queryUserFreezeById(Long id){
        QueryWrapper<UserFreeze> query = new QueryWrapper<>();

        query.eq("user_id",id);
        return this.userFreezeMapper.selectOne(query);
    }



}
